// 用户管理接口api
import { fetch } from '@/utils/fetch.js';
// 数据中心-辅导老师-详情-总统计
export function totalStatistics(params) {
  return fetch({
    url: '/usercenter/operation/dataCenter/tutor/detail/totalStatistics',
    method: 'POST',
    data: params,
  });
}

// 数据中心-辅导老师-详情-学校统计
export function schoolStatistics(params) {
  return fetch({
    url: '/usercenter/operation/dataCenter/tutor/detail/schoolStatistics',
    method: 'POST',
    data: params,
  });
}
// // 数据中心-辅导老师-详情-学校统计
// export function schoolStatistics (params) {
//   return fetch({
//     url: '/operation/dataCenter/tutor/detail/schoolStatistics',
//     method: 'POST',
//     data: params
//   })
// }
// 数据中心-辅导老师-详情-课程统计
export function courseStatistics(params) {
  return fetch({
    url: '/usercenter/operation/dataCenter/tutor/detail/courseStatistics',
    method: 'POST',
    data: params,
  });
}
// 数据中心-辅导老师-详情-课时统计
export function lessonStatistics(params) {
  return fetch({
    url: '/usercenter/operation/dataCenter/tutor/detail/lessonStatistics',
    method: 'POST',
    data: params,
  });
}
// 数据中心-辅导老师-详情-导出excel
export function tutorStudyStatistics(params) {
  return fetch({
    url: '/questionlib/nice/datacenter/tutorStudyStatistics',
    method: 'POST',
    data: params,
  });
}
// 数据中心-市场部-总体统计-总统计
export function AlltotalStatistics(params) {
  return fetch({
    url:
      '/usercenter/operation/dataCenter/market/totalStatistics/totalStatistics',
    method: 'POST',
    data: params,
  });
}
// 数据中心-市场部-总体统计-市场人员数据
export function marketStatistics(params) {
  return fetch({
    url:
      '/usercenter/operation/dataCenter/market/totalStatistics/marketStatistics',
    method: 'POST',
    data: params,
  });
}
// 数据中心-市场部-总体统计-代理商数据
export function agnetStatistics(params) {
  return fetch({
    url:
      '/usercenter/operation/dataCenter/market/totalStatistics/agnetStatistics',
    method: 'POST',
    data: params,
  });
}
// 数据中心-市场部-总体统计-年级数据
export function gradeStatistics(params) {
  return fetch({
    url:
      '/usercenter/operation/dataCenter/market/totalStatistics/gradeStatistics',
    method: 'POST',
    data: params,
  });
}
// 数据中心-市场部-总体统计-地区数据
export function cityStatistics(params) {
  return fetch({
    url:
      '/usercenter/operation/dataCenter/market/totalStatistics/cityStatistics',
    method: 'POST',
    data: params,
  });
}
// 数据中心-市场部-学校详情
export function schoolDetail(params) {
  return fetch({
    url: '/usercenter/operation/dataCenter/market/school/detail',
    method: 'POST',
    data: params,
  });
}
// 数据中心-市场部-学校详情
export function marketSchoolList(params) {
  return fetch({
    url: '/usercenter/operation/dataCenter/market/school/list',
    method: 'POST',
    data: params,
  });
}
//数据中心-市场部-总体统计-市场人员数据-导出excel
export function personStatistics(params) {
  return fetch({
    url: '/questionlib/nice/datacenter/market/personStatistics',
    method: 'POST',
    data: params,
  });
}
// 数据中心-市场部-总体统计-代理商数据-导出excel
export function agentStatistics(params) {
  return fetch({
    url: '/questionlib/nice/datacenter/market/agentStatistics',
    method: 'POST',
    data: params,
  });
}
// 数据中心-市场部-总体统计-年级数据-导出excel
export function gradeStatisticsexcel(params) {
  return fetch({
    url: '/questionlib/nice/datacenter/market/gradeStatistics',
    method: 'POST',
    data: params,
  });
}
// 数据中心-市场部-总体统计-地区数据-导出excel
export function areaStatistics(params) {
  return fetch({
    url: '/questionlib/nice/datacenter/market/areaStatistics',
    method: 'POST',
    data: params,
  });
}
// 数据中心-市场部-学校列表-导出excel
export function marketSchoolStatistics(params) {
  return fetch({
    url: '/questionlib/nice/datacenter/market/schoolStatistics',
    method: 'POST',
    data: params,
  });
}
